<template>
    <div
    v-loading.fullscreen="loading"
    element-loading-text="即将跳转首页"
    element-loading-spinner="el-icon-loading"
    element-loading-background="rgba(0, 0, 0, 0.4)">
       <p> 当前页面不存在！即将跳回{{loading}}</p>
    </div>
</template>

<script>
export default {
    data () {
        return {
loading:""
 
        }
    },
    created(){
        let t=setInterval(()=>{
            this.loading+='.';
            if(this.loading=='......'){
                clearInterval(t)
            }
        },300)

        setTimeout(()=>{
            this.$router.push('/')
        },2000)
    }
}
</script>
 
<style lang = "less" scoped>
    
</style>